package com.example.waimai.pojo;


import java.io.Serializable;

public class Food implements Serializable {
    private Integer id;
    private String foodName;
    private String foodImage;
    private Float foodPrice;
    private String foodInfo;
    private Integer storeId;
    private Integer foodStatus;
    private Integer foodStock;
    private Integer foodTypeId;

    // 额外属性 ： 添加了多少菜
    private Integer addNums = 0;
    // 记录一下菜单类型名
    private String foodTypeName;

    public String getFoodTypeName() {
        return foodTypeName;
    }

    public void setFoodTypeName(String foodTypeName) {
        this.foodTypeName = foodTypeName;
    }

    @Override
    public String toString() {
        return "Food{" +
                "id=" + id +
                ", foodName='" + foodName + '\'' +
                ", foodImage='" + foodImage + '\'' +
                ", foodPrice=" + foodPrice +
                ", foodInfo='" + foodInfo + '\'' +
                ", storeId=" + storeId +
                ", foodStatus=" + foodStatus +
                ", foodStock=" + foodStock +
                ", foodTypeId=" + foodTypeId +
                ", addNums=" + addNums +
                '}';
    }

    public Integer getAddNums() {
        return addNums;
    }

    public void setAddNums(Integer addNums) {
        this.addNums = addNums;
    }

    public Integer getFoodTypeId() {
        return foodTypeId;
    }

    public void setFoodTypeId(Integer foodTypeId) {
        this.foodTypeId = foodTypeId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getFoodName() {
        return foodName;
    }

    public void setFoodName(String foodName) {
        this.foodName = foodName;
    }

    public String getFoodImage() {
        return foodImage;
    }

    public void setFoodImage(String foodImage) {
        this.foodImage = foodImage;
    }

    public Float getFoodPrice() {
        return foodPrice;
    }

    public void setFoodPrice(Float foodPrice) {
        this.foodPrice = foodPrice;
    }

    public String getFoodInfo() {
        return foodInfo;
    }

    public void setFoodInfo(String foodInfo) {
        this.foodInfo = foodInfo;
    }

    public Integer getStoreId() {
        return storeId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public Integer getFoodStatus() {
        return foodStatus;
    }

    public void setFoodStatus(Integer foodStatus) {
        this.foodStatus = foodStatus;
    }

    public Integer getFoodStock() {
        return foodStock;
    }

    public void setFoodStock(Integer foodStock) {
        this.foodStock = foodStock;
    }
}
